import HttpKit from '@/utils/http-kit'

export default {
  /**
   * 功能描述：查询题目
   * @param form
   */
  page (form) {
    return HttpKit.post(`http://112.74.105.17:20003/question-bank/api/stem/page`, form).then(
      res => res.data,
    )
  },
  preview (stemId) {
    return HttpKit.get(`http://112.74.105.17:20003/question-bank/api/stem/${stemId}`).then(
      res => res.data,
    )
  }
}
